package com.asiainfo.ssm.execute.service.impl;

import com.ai.appframe2.service.ServiceFactory;
import com.asiainfo.ssm.execute.dao.interfaces.IExecFileLogDAO;
import com.asiainfo.ssm.execute.ivalues.IBOExecFileLogValue;
import com.asiainfo.ssm.execute.service.interfaces.IExecFileLogSV;

public class ExecFileLogSVImpl implements IExecFileLogSV {

	@Override
	public void saveExecFileLog(IBOExecFileLogValue value) throws Exception {
		IExecFileLogDAO dao = (IExecFileLogDAO) ServiceFactory.getService(IExecFileLogDAO.class);
		dao.saveExecFileLog(value);
	}

	@Override
	public IBOExecFileLogValue getExecFileLogByName(String fileName) throws Exception {
		IExecFileLogDAO dao = (IExecFileLogDAO) ServiceFactory.getService(IExecFileLogDAO.class);
		return dao.getExecFileLogByName(fileName);
	}

}
